import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import moment from 'moment';
import 'moment/locale/zh-cn'

Vue.filter("fmtDate_global", function (date) {
  return moment(date).format("YYYY/M/DDAh:mm");
  // 或者return自己编写的时间处理函数
})

Vue.use(Vant);

Vue.config.productionTip = false


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
